package lk.cms.all.domain;

/**
 * @author LK
 * @date 2020/9/5 - 21:00
 */


import lk.cms.base.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/***
 * 查询所有账号模块实体
 *
 * @author 42276
 *
 */
@Entity
@Table(name = "T_ALL")
public class All extends BaseEntity<Long> {

    /**
     * generate serialVersionUID
     */
    private static final long serialVersionUID = 8734275607197265171L;

    /**
     * 账号
     */
    @Column
    String username;
    /**
     * 密码
     */
    @Column
    String password;
    /**
     * 身份
     */
    @Column
    String identity;


    //	public All(String username,String password,String identity) {
//		super();
//		this.username=username;
//		this.password=password;
//		this.identity=identity;
//	}
//
//	public All() {
//		super();
//	}
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "All [username=" + username + ", password=" + password + ", identity=" + identity + "]";
    }

}
